/*================================================================
*   Copyright (C) 2020 belonging to YangZhengQing. All rights reserved.
*   
*   文件名称：type.h
*   创 建 者：YangZhengQing
*   创建日期：2020年03月03日
*   描    述：
*
*================================================================*/


//#pragma once
#ifndef TYPE_H_
#define TYPE_H_

#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>


void to_bytes(unsigned char *bytes, int number);
int to_int(unsigned char *bytes);

void microseconds_sleep(unsigned long uSec);
void milliseconds_delay(unsigned long mSec);
void seconds_delay(unsigned seconds);


#endif
